package com.smart.common.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhanghong
 * @version BaseParam.java, v 0.1 2022/4/27 21:53 下午 BaseParam Exp $$
 */
@Data
public class BaseRequest implements Serializable {
    @ApiModelProperty("主键id")
    private Long id;
    @ApiModelProperty("更新人")
    private Long updateUser;
    @ApiModelProperty("更新人姓名")
    private String updateUserName;
    @ApiModelProperty("更新开始时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startUpdateTime;
    @ApiModelProperty("更新结束时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endUpdateTime;
    @ApiModelProperty("创建人")
    private Long createUser;
    @ApiModelProperty("创建人姓名")
    private String createUserName;
    @ApiModelProperty("创建开始时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startCreateTime;
    @ApiModelProperty("创建结束时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endCreateTime;
}
